// src/mock/menuData.ts
export const mockMenuData = [
  {
    menu_id: 2,
    path: "/home",
    name: "home",
    component: "HomeView",
    parent_id: 1,
    order_num: 1,
    hidden: 0,
    meta_title: "首页",
    meta_icon: "House",
    affix: 1,
  },
  {
    menu_id: 3,
    path: "/permission",
    name: "Permission",
    component: "RouteView", // 嵌套路由布局组件
    redirect: "/permission/user",
    parent_id: 1,
    order_num: 2,
    hidden: 0,
    meta_title: "权限管理",
    meta_icon: "Lock",
    always_show: 1,
  },
  {
    menu_id: 4,
    path: "/user",
    name: "User",
    component: "User",
    parent_id: 3,
    order_num: 1,
    hidden: 0,
    meta_title: "用户管理",
    meta_icon: "User",
  },
  {
    menu_id: 5,
    path: "/role",
    name: "Role",
    component: "Role",
    parent_id: 3,
    order_num: 2,
    hidden: 0,
    meta_title: "角色管理",
    meta_icon: "Avatar",
  },
  {
    menu_id: 6,
    path: "/department",
    name: "Department",
    component: "Department",
    parent_id: 3,
    order_num: 3,
    hidden: 0,
    meta_title: "部门管理",
    meta_icon: "OfficeBuilding",
  },
  {
    menu_id: 7,
    path: "/storage",
    name: "Storage",
    component: "RouteView", // 嵌套路由布局组件
    redirect: "/storage/warehouse",
    parent_id: 1,
    order_num: 2,
    hidden: 0,
    meta_title: "仓储管理",
    meta_icon: "Box",
    always_show: 1,
  },
  {
    menu_id: 8,
    path: "/warehouse",
    name: "Warehouse",
    component: "Warehouse",
    parent_id: 7,
    order_num: 1,
    hidden: 0,
    meta_title: "仓库管理",
    meta_icon: "Goods",
  },
  {
    menu_id: 9,
    path: "/outWarehouse",
    name: "OutWarehouse",
    component: "OutWarehouse",
    parent_id: 7,
    order_num: 2,
    hidden: 0,
    meta_title: "出库管理",
    meta_icon: "ShoppingTrolley",
  },
  {
    menu_id: 10,
    path: "/inWarehouse",
    name: "InWarehouse",
    component: "InWarehouse",
    parent_id: 7,
    order_num: 3,
    hidden: 0,
    meta_title: "入库管理",
    meta_icon: "ShoppingCartFull",
  },
];
